package ${packageSpace}.${moduleName}.${domain};

import com.yulinlin.common.controller.SuperController;
import io.swagger.annotations.*;


import com.yulinlin.common.domain.ResponseVo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMethod;

import ${packageSpace}.${moduleName}.domain.${className}Entity;

import ${packageSpace}.${moduleName}.service.I${className}Service;
import ${packageSpace}.${moduleName}.domain.config.${className}Config;
import ${packageSpace}.${moduleName}.domain.page.${className}Page;

@Api(tags = "${tableComment}")
@RestController
@RequestMapping("${requestMapping}")
public class ${prefix}${className}${suffix} extends SuperController<${className}Entity,${className}Page>  {


    @Autowired
    private I${className}Service service;

    @ApiOperation("获取配置数据")
    @RequestMapping(value = "config",method = RequestMethod.POST)
    public ResponseVo<${className}Config> config() {
        ${className}Config config =${className}Config.newInstance();
        return ResponseVo.newInstance(config);
    }


}
